runtime.boundsError.code (field)
20 uses
runtime (current package)
error.go#L125: code boundsErrorCode
error.go#L186: fmt := boundsErrorFmts[e.code]
error.go#L188: fmt = boundsNegErrorFmts[e.code]
panic.go#L115: panic(boundsError{x: int64(x), signed: true, y: y, code: boundsIndex})
panic.go#L121: panic(boundsError{x: int64(x), signed: false, y: y, code: boundsIndex})
panic.go#L129: panic(boundsError{x: int64(x), signed: true, y: y, code: boundsSliceAlen})
panic.go#L135: panic(boundsError{x: int64(x), signed: false, y: y, code: boundsSliceAlen})
panic.go#L141: panic(boundsError{x: int64(x), signed: true, y: y, code: boundsSliceAcap})
panic.go#L147: panic(boundsError{x: int64(x), signed: false, y: y, code: boundsSliceAcap})
panic.go#L155: panic(boundsError{x: int64(x), signed: true, y: y, code: boundsSliceB})
panic.go#L161: panic(boundsError{x: int64(x), signed: false, y: y, code: boundsSliceB})
panic.go#L167: panic(boundsError{x: int64(x), signed: true, y: y, code: boundsSlice3Alen})
panic.go#L171: panic(boundsError{x: int64(x), signed: false, y: y, code: boundsSlice3Alen})
panic.go#L175: panic(boundsError{x: int64(x), signed: true, y: y, code: boundsSlice3Acap})
panic.go#L179: panic(boundsError{x: int64(x), signed: false, y: y, code: boundsSlice3Acap})
panic.go#L185: panic(boundsError{x: int64(x), signed: true, y: y, code: boundsSlice3B})
panic.go#L189: panic(boundsError{x: int64(x), signed: false, y: y, code: boundsSlice3B})
panic.go#L195: panic(boundsError{x: int64(x), signed: true, y: y, code: boundsSlice3C})
panic.go#L199: panic(boundsError{x: int64(x), signed: false, y: y, code: boundsSlice3C})
panic.go#L205: panic(boundsError{x: int64(x), signed: true, y: y, code: boundsConvert})